<tr>
	<td><img src="{{Storage::url($v->cover_img)}}" width="50" height="50"></td>
	<td>
		{{$v->name}}
		
	</td>
	<td>{{ $v->status }}</td>
	<td>{{ $v->category->name }}</td>
	<td>{{ $v->price }}</td>
	<td>{{ $v->stock }}</td>
	<td>{{ $v->vitual_sales }}</td>
	<td>
		@if($v->status)
		<a href="javascript:;" data-goods_id="{{$v->id}}" class="badge badge-success text-white" data-type="status">已上架</a>
		@else
		<a href="javascript:;" class="badge badge-danger text-white" data-type="status" data-goods_id="{{$v->id}}">已下架</a>
		@endif
		<a href="{{route('admin.goods.edit', $v)}}" class="badge badge-info text-white">编辑</a>
        <a class="badge badge-danger text-white" data-url="{{ route('admin.goods.destroy', $v) }}">删除</a>
	</td>
</tr>